
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>2015华科软件学院成绩统计</title

    <!-- Bootstrap core CSS -->
    <link href="http://cdn.bootcss.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
    <!-- Bootstrap theme -->
    <link href="../../dist/css/bootstrap-theme.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="theme.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body role="document">

    <!-- Fixed navbar -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">华科软件学院考研成绩统计</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="index.html">统计</a></li>
            <li><a href="result.html">查看结果</a></li>
    
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container theme-showcase" role="main">

      <!-- Main jumbotron for a primary marketing message or call to action -->
      <div class="jumbotron">
        <h1>成绩统计公告</h1>
        <p>1.ID填写群里的QQ号，只是为了防止误重复提交。</p>
		<p>2.复试交流群：84612497    调剂交流群：115812346</p>
		<p>3.为了统计结果的真实性，请诸君认真填写！</p>
		<p class="pull-right">Author:徐继开  QQ:564165484</p>
      </div>

      <div class="page-header">
        <h1>成绩登记</h1>
      </div>
          <table class="table">
            <thead>
              <tr>
                <th>ID</th>
                <th>政治</th>
                <th>英语</th>
                <th>数学</th>
				<th>专业课</th>
				<th>总分</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><input id="qq" type="text" class="form-control" placeholder="填写QQ号，防误提交" aria-describedby="basic-addon1"></td>
                <td><input id="politics" type="text" class="form-control"  aria-describedby="basic-addon1"></td>
                <td><input id="english" type="text" class="form-control"  aria-describedby="basic-addon1"></td>
                <td><input id="math" type="text" class="form-control"  aria-describedby="basic-addon1"></td>
				<td><input id="major" type="text" class="form-control"  aria-describedby="basic-addon1"></td>
				<td><input id="total" type="text" class="form-control"  aria-describedby="basic-addon1"></td>
              </tr>
              <tr>                              
                <td colspan=6><center><button id="btn_submit" type="button" class="btn btn-lg btn-primary">提交</button></center></td>                
              </tr>
            </tbody>
          </table>
    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    <script src="../../assets/js/docs.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
	
	<script>
	$("#btn_submit").on('click',function(e){
	var qq = $('#qq').val();
	var politics = $('#politics').val();
	var english = $('#english').val();
	var math = $('#math').val();
	var major = $('#major').val();
	var total = $('#total').val();
	if(1)
	{
		$.post("write.php",{
		'qq':qq,
		'politics':politics,		
		'english':english,
		'math':math,
		'major':major,
		'total':total
		},
		  function(data){
			alert(data);
		  }, "text");
  }//
       //alert(len);
});//输入框事件

	</script>
	
  
  </body>
</html>
